package com.backend.aptromview.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.backend.common.annotation.Excel;
import com.backend.common.core.domain.BaseEntity;

/**
 * 公寓图片管理对象 aptrom_view
 * 
 * @author fusi
 * @date 2024-10-06
 */
public class AptromView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公寓ID */
    @Excel(name = "公寓ID")
    private Long apartmentId;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    private String apartmentName;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String county;

    /** 公寓具体位置 */
    @Excel(name = "公寓具体位置")
    private String apartmentLocation;

    /** 公寓状态（0未上架 1未出租 2已出租） */
    @Excel(name = "公寓状态", readConverterExp = "0=未上架,1=未出租,2=已出租")
    private String status;

    /** 公寓月租 */
    @Excel(name = "公寓月租")
    private Long monthlyRent;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long roomId;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;

    /** 房间具体位置 */
    @Excel(name = "房间具体位置")
    private String roomLocation;

    /** 房间状态（0未上架 1未出租 2已出租） */
    @Excel(name = "房间状态", readConverterExp = "0=未上架,1=未出租,2=已出租")
    private String roomStatus;

    /** 房间月租 */
    @Excel(name = "房间月租")
    private Long roomMonthlyRent;

    @Excel(name = "房间月租")
    private Long apartmentIncludeRoomId;

    private Long freeRoomCount;

    public Long getFreeRoomCount() {
        return freeRoomCount;
    }

    public void setFreeRoomCount(Long freeRoomCount) {
        this.freeRoomCount = freeRoomCount;
    }

    public Long getApartmentIncludeRoomId() {
        return apartmentIncludeRoomId;
    }

    public void setApartmentIncludeRoomId(Long apartmentIncludeRoomId) {
        this.apartmentIncludeRoomId = apartmentIncludeRoomId;
    }

    public void setApartmentId(Long apartmentId)
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId() 
    {
        return apartmentId;
    }
    public void setApartmentName(String apartmentName) 
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName() 
    {
        return apartmentName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setApartmentLocation(String apartmentLocation) 
    {
        this.apartmentLocation = apartmentLocation;
    }

    public String getApartmentLocation() 
    {
        return apartmentLocation;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMonthlyRent(Long monthlyRent) 
    {
        this.monthlyRent = monthlyRent;
    }

    public Long getMonthlyRent() 
    {
        return monthlyRent;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomLocation(String roomLocation) 
    {
        this.roomLocation = roomLocation;
    }

    public String getRoomLocation() 
    {
        return roomLocation;
    }
    public void setRoomStatus(String roomStatus) 
    {
        this.roomStatus = roomStatus;
    }

    public String getRoomStatus() 
    {
        return roomStatus;
    }
    public void setRoomMonthlyRent(Long roomMonthlyRent) 
    {
        this.roomMonthlyRent = roomMonthlyRent;
    }

    public Long getRoomMonthlyRent() 
    {
        return roomMonthlyRent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apartmentId", getApartmentId())
            .append("apartmentName", getApartmentName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("apartmentLocation", getApartmentLocation())
            .append("status", getStatus())
            .append("monthlyRent", getMonthlyRent())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("roomLocation", getRoomLocation())
            .append("roomStatus", getRoomStatus())
            .append("roomMonthlyRent", getRoomMonthlyRent())
            .append("apartmentIncludeRoomId", getApartmentIncludeRoomId())
            .toString();
    }
}
